namespace AltNetUK.Models
{
    using System;
    using System.Diagnostics.CodeAnalysis;
    using System.Xml.Serialization;

    [XmlRoot(ElementName = "image")]
    public sealed class Image
    {
        [XmlAttribute(AttributeName = "alt")]
        public string Alt
        {
            get;
            set;
        }

        [SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Src", Justification = "Following the HTML naming convention.")]
        [XmlAttribute(AttributeName = "src")]
        public string Src
        {
            get;
            set;
        }
    }
}